package com.photo.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.photo.system.model.dto.things.ThingsQueryRequest;
import com.photo.system.model.entity.Things;
import com.photo.system.model.vo.ThingsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xuwenhui
* @description 针对表【things(摄影作品表)】的数据库操作Mapper
* @createDate 2024-11-21 21:17:09
* @Entity generator.domain.Things
*/
public interface ThingsMapper extends BaseMapper<Things> {

    List<ThingsVO> getQueryByAll(@Param("pageParam")Page<ThingsVO> pageParam,
                                 @Param("thingsQueryRequest") ThingsQueryRequest thingsQueryRequest);

    List<ThingsVO> getQueryByMy(@Param("pageParam")Page<ThingsVO> pageParam,
                                @Param("thingsQueryRequest")ThingsQueryRequest thingsQueryRequest,
                                @Param("userId") Long userId);
}




